package com.zr.planclass.util;

import lombok.Data;

/**
 * Created by Lenovo on 2019/12/22.
 */
@Data
public class ResultVo<T> {
    private Boolean success;//是否成
    private String errorMessage;//错误提示信息
    private T data;//正确的数据

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
